#ifndef DBTRACK_H
#define DBTRACK_H

#include <QList>
#include "../core/dtgenre.h"
#include "dbgenre.h"
#include "dbalbum.h"
#include "../core/dtalbum.h"
#include "dbartist.h"
#include "../core/dtartist.h"
#include "../core/dttrack.h"

static const QString dbTrackStr =
        "DbTrack";
static const QString dbTrackCreate =
        "create";
static const QString dbTrackDestroy =
        "destroy";
static const QString dbTrackUpdate =
        "update";

class DbTrack
{
public:
    DbTrack();
    static bool create(QList<DtTrack *> &track);
    static bool destroy(const QList<DtTrack *> &track);
    static bool update(const QList<DtTrack *> &track);
//    static bool getAll(QList<DtTrack *> &track, QList<DtArtist *> &sArtist,
//                       QList<DtAlbum *> & sAlbum, QList<DtGenre *> &sGenre);
    bool setHeart(const DtTrack &track);
};

#endif // DBTRACK_H
